(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[584],{577:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/resources",function(){return s(3816)}])},6495:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var r=s(5893),i=s(7294),n=s(5675);function l(e){var t=e.artData,s=(e.height,e.mheight,e.maxWidth,e.priority),l=void 0===s||s,a=(0,i.useState)(),c=a[0],o=a[1];return(0,i.useEffect)((function(){t&&o(t)})),(0,r.jsxs)("div",{className:"relative md:block text-white w-full h-full",children:[c&&(0,r.jsx)(n.default,{priority:l,layout:"fill",alt:c&&c.title,src:"".concat("https://cms.complexityweekend.com/assets","/").concat(c.image.id,"?fit=cover&width=1700&height=1700&quality=100"),objectFit:"cover",blurDataURL:"/ph-art.png",className:"animate-fade relative rounded-2xl h-full object-cover transition-all z-20",placeholder:"blur"}),c&&(0,r.jsxs)("div",{className:"absolute text-xs max-w-[200px] px-4 py-4 right-8 top-8 bg-[#212227] rounded z-30",children:[(0,r.jsx)("p",{children:c&&c.title}),(0,r.jsx)("p",{className:"py-2",children:c&&c.description}),(0,r.jsx)("div",{children:(0,r.jsxs)("span",{className:"",children:["Art by:"," ",c&&c.artists.map((function(e,t){return(0,r.jsxs)("span",{className:"text-white",children:[(0,r.jsx)("a",{className:"text-[#30BCED]",href:e.artists_id.url,target:"_blank",alt:"A link to ".concat(e.artists_id.name,"'s website"),children:e.artists_id.name}),t!==c.artists.length-1&&2===c.artists.length&&" and ",c.artists.length>2&&t!==c.artists.length-1&&(t